home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19980424-19980901
/
000286_news@newsmaster….columbia.edu _Fri Jul 17 09:13:53 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
4KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA03689
for <kermit.misc@watsun.cc.columbia.edu>; Fri, 17 Jul 1998 09:13:53 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id JAA11961
for kermit.misc@watsun; Fri, 17 Jul 1998 09:13:53 -0400 (EDT)
Path: news.columbia.edu!watsun.cc.columbia.edu!jaltman
From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: how to drop idle connections?
Date: 17 Jul 1998 13:13:50 GMT
Organization: Columbia University
Lines: 72
Message-ID: <6onime$8ad$1@apakabar.cc.columbia.edu>
References: <6on9ha$ulb$1@actisl.actis.de>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:8988
In article <6on9ha$ulb$1@actisl.actis.de>,
Thorsten Kuehnemann <thorsten@actis.de> wrote:
: Hello,
:
: while trying the script language for connections through
: several tcp hosts, isdn dialup devices, etc. i have the
: following problem:
:
: Is it possible to drop an expensive connection if the user
: (or the line) is idle for n seconds? I am looking for
: a command like "set connect idle-timeout 600". The connections
: are used for terminal I/O only (no filetransfers).
:
: I've found nothing in the german translated Kermit Book
: from Heise, the english version is ordered, but the bookstore
: told me to wait several weeks for the book to arrive.
:
: My Kermit is a "C-Kermit 6.0.192, 6 Sep 96".
:
: Thorsten
This functionality is not currently implemented in Unix C-Kermit.
It is implemented in Kermit 95 for Win95/98/NT/OS2. From the online
help:
Syntax: CONNECT (or C, or CQ) [ switches ]
Connect to a remote computer via the serial communications device given in
the most recent SET PORT command, or to the network host named in the most
recent SET HOST command. Type the escape character followed by C to get
back to the C-Kermit prompt, or followed by ? for a list of CONNECT-mode
escape commands. You can also assign the \Kexit verb to the key or
key-combination of your choice; by default it is assigned to Alt-x.
Other switches include:
/TRIGGER:string
One or more strings to look for that will cause automatic return to
command mode. To specify one string, just put it right after the
colon, e.g. "/TRIGGER:Goodbye". If the string contains any spaces, you
must enclose it in braces, e.g. "/TRIGGER:{READY TO SEND...}". To
specify more than one trigger, use the following format:
/TRIGGER:{{string1}{string2}...{stringn}}
Upon return from CONNECT mode, the variable \v(trigger) is set to the
trigger string, if any, that was actually encountered. This value, like
all other CONNECT switches applies only to the CONNECT command with which
it is given, and overrides (temporarily) any global SET TERMINAL TRIGGER
string that might be in effect.
/IDLE-LIMIT:number
The number of seconds of idle time, after which Kermit returns
automatically to command mode; default 0 (no limit).
/IDLE-INTERVAL:number
The number of seconds of idle time, after which Kermit automatically
transmits the idle string.
/IDLE-STRING:string
The string to transmit whenever the idle interval has passed.
/TIME-LIMIT:number
The maximum number of seconds for which the CONNECT session may last.
The default is 0 (no limit). If a nonzero number is given, Kermit returns
automatically to command mode after this many seconds.
Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
The Kermit Project * Columbia University
612 West 115th St #716 * New York, NY * 10025
http://www.kermit-project.org/k95.html * kermit-support@kermit-project.org